package com.delivery.deliverysystem.pojo.VO;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 传前端的产品资料
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductNameVO implements Serializable {
    /**
     * 物料代码
     */
    @TableId(value = "product_id")
    @ApiModelProperty("物料代码")
    private String productId;

    /**
     * 品名/规格
     */
    @ApiModelProperty("品名/规格")
    private String productName;
    /**
     * 档号
     */
    @ApiModelProperty("档号")
    private String number;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}